package com.sword.service.stock;

import com.sword.page.PageResult;
import com.sword.page.QueryPageBean;
import com.sword.pojo.stock.LeavestockDetail;

public interface LeaveStockDetailService {
    //分页查询单据
    PageResult queryLeaveStockDetail(QueryPageBean queryPageBean);

    // 添加单据
    Integer addLeaveStockDetail(LeavestockDetail leaveStockDetail);

    // 编辑单据
    Integer editLeaveStockDetail(LeavestockDetail leaveStockDetail);

    // 审核单据
    Integer examineLeaveStockDetail(LeavestockDetail leaveStockDetail);

    //弃审单据
    Integer unexamineLeaveStockDetail(LeavestockDetail leaveStockDetail);

    // 删除单据
    Integer deleteLeaveStockDetail(Integer id);
}
